package com.zycfc.zsf.boot.mq.rabbitmq.handler;

import java.io.*;
import java.util.*;
import com.zycfc.zsf.boot.util.text.*;
import com.zycfc.zsf.boot.util.net.*;
import com.zycfc.zsf.boot.util.time.*;

public class TSysMqConsumerErrs implements Serializable
{
    private static final long serialVersionUID = 1L;
    private String id;
    private String applicationName;
    private String messageId;
    private String queueName;
    private String requestData;
    private String requestIp;
    private String sts;
    private Date createTime;
    private Date updateTime;
    private Date tranDt;
    private Date optTime;
    private String correlationId;
    private String requestClass;
    
    public TSysMqConsumerErrs() {
    }
    
    public TSysMqConsumerErrs(final String applicationName, final String messageId, final String queueName, final String requestData, final String correlationId, final String requestClass, final Date optTime) {
        this.id = UuidUtils.getUuid();
        this.applicationName = applicationName;
        this.messageId = messageId;
        this.queueName = queueName;
        this.requestData = requestData;
        this.requestIp = NetUtils.getLocalHost();
        this.sts = "0";
        this.createTime = DateUtils.getCurDate();
        this.updateTime = DateUtils.getCurDate();
        this.tranDt = DateUtils.getCurSqlYMD();
        this.correlationId = correlationId;
        this.requestClass = requestClass;
        this.optTime = optTime;
    }
    
    public String getId() {
        return this.id;
    }
    
    public String getApplicationName() {
        return this.applicationName;
    }
    
    public String getMessageId() {
        return this.messageId;
    }
    
    public String getQueueName() {
        return this.queueName;
    }
    
    public String getRequestData() {
        return this.requestData;
    }
    
    public String getRequestIp() {
        return this.requestIp;
    }
    
    public String getSts() {
        return this.sts;
    }
    
    public Date getCreateTime() {
        return this.createTime;
    }
    
    public Date getUpdateTime() {
        return this.updateTime;
    }
    
    public Date getTranDt() {
        return this.tranDt;
    }
    
    public Date getOptTime() {
        return this.optTime;
    }
    
    public String getCorrelationId() {
        return this.correlationId;
    }
    
    public String getRequestClass() {
        return this.requestClass;
    }
    
    public void setId(final String id) {
        this.id = id;
    }
    
    public void setApplicationName(final String applicationName) {
        this.applicationName = applicationName;
    }
    
    public void setMessageId(final String messageId) {
        this.messageId = messageId;
    }
    
    public void setQueueName(final String queueName) {
        this.queueName = queueName;
    }
    
    public void setRequestData(final String requestData) {
        this.requestData = requestData;
    }
    
    public void setRequestIp(final String requestIp) {
        this.requestIp = requestIp;
    }
    
    public void setSts(final String sts) {
        this.sts = sts;
    }
    
    public void setCreateTime(final Date createTime) {
        this.createTime = createTime;
    }
    
    public void setUpdateTime(final Date updateTime) {
        this.updateTime = updateTime;
    }
    
    public void setTranDt(final Date tranDt) {
        this.tranDt = tranDt;
    }
    
    public void setOptTime(final Date optTime) {
        this.optTime = optTime;
    }
    
    public void setCorrelationId(final String correlationId) {
        this.correlationId = correlationId;
    }
    
    public void setRequestClass(final String requestClass) {
        this.requestClass = requestClass;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof TSysMqConsumerErrs)) {
            return false;
        }
        final TSysMqConsumerErrs other = (TSysMqConsumerErrs)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$applicationName = this.getApplicationName();
        final Object other$applicationName = other.getApplicationName();
        Label_0102: {
            if (this$applicationName == null) {
                if (other$applicationName == null) {
                    break Label_0102;
                }
            }
            else if (this$applicationName.equals(other$applicationName)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$messageId = this.getMessageId();
        final Object other$messageId = other.getMessageId();
        Label_0139: {
            if (this$messageId == null) {
                if (other$messageId == null) {
                    break Label_0139;
                }
            }
            else if (this$messageId.equals(other$messageId)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$queueName = this.getQueueName();
        final Object other$queueName = other.getQueueName();
        Label_0176: {
            if (this$queueName == null) {
                if (other$queueName == null) {
                    break Label_0176;
                }
            }
            else if (this$queueName.equals(other$queueName)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$requestData = this.getRequestData();
        final Object other$requestData = other.getRequestData();
        Label_0213: {
            if (this$requestData == null) {
                if (other$requestData == null) {
                    break Label_0213;
                }
            }
            else if (this$requestData.equals(other$requestData)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$requestIp = this.getRequestIp();
        final Object other$requestIp = other.getRequestIp();
        Label_0250: {
            if (this$requestIp == null) {
                if (other$requestIp == null) {
                    break Label_0250;
                }
            }
            else if (this$requestIp.equals(other$requestIp)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$sts = this.getSts();
        final Object other$sts = other.getSts();
        Label_0287: {
            if (this$sts == null) {
                if (other$sts == null) {
                    break Label_0287;
                }
            }
            else if (this$sts.equals(other$sts)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$createTime = this.getCreateTime();
        final Object other$createTime = other.getCreateTime();
        Label_0324: {
            if (this$createTime == null) {
                if (other$createTime == null) {
                    break Label_0324;
                }
            }
            else if (this$createTime.equals(other$createTime)) {
                break Label_0324;
            }
            return false;
        }
        final Object this$updateTime = this.getUpdateTime();
        final Object other$updateTime = other.getUpdateTime();
        Label_0361: {
            if (this$updateTime == null) {
                if (other$updateTime == null) {
                    break Label_0361;
                }
            }
            else if (this$updateTime.equals(other$updateTime)) {
                break Label_0361;
            }
            return false;
        }
        final Object this$tranDt = this.getTranDt();
        final Object other$tranDt = other.getTranDt();
        Label_0398: {
            if (this$tranDt == null) {
                if (other$tranDt == null) {
                    break Label_0398;
                }
            }
            else if (this$tranDt.equals(other$tranDt)) {
                break Label_0398;
            }
            return false;
        }
        final Object this$optTime = this.getOptTime();
        final Object other$optTime = other.getOptTime();
        Label_0435: {
            if (this$optTime == null) {
                if (other$optTime == null) {
                    break Label_0435;
                }
            }
            else if (this$optTime.equals(other$optTime)) {
                break Label_0435;
            }
            return false;
        }
        final Object this$correlationId = this.getCorrelationId();
        final Object other$correlationId = other.getCorrelationId();
        Label_0472: {
            if (this$correlationId == null) {
                if (other$correlationId == null) {
                    break Label_0472;
                }
            }
            else if (this$correlationId.equals(other$correlationId)) {
                break Label_0472;
            }
            return false;
        }
        final Object this$requestClass = this.getRequestClass();
        final Object other$requestClass = other.getRequestClass();
        if (this$requestClass == null) {
            if (other$requestClass == null) {
                return true;
            }
        }
        else if (this$requestClass.equals(other$requestClass)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof TSysMqConsumerErrs;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $applicationName = this.getApplicationName();
        result = result * 59 + (($applicationName == null) ? 43 : $applicationName.hashCode());
        final Object $messageId = this.getMessageId();
        result = result * 59 + (($messageId == null) ? 43 : $messageId.hashCode());
        final Object $queueName = this.getQueueName();
        result = result * 59 + (($queueName == null) ? 43 : $queueName.hashCode());
        final Object $requestData = this.getRequestData();
        result = result * 59 + (($requestData == null) ? 43 : $requestData.hashCode());
        final Object $requestIp = this.getRequestIp();
        result = result * 59 + (($requestIp == null) ? 43 : $requestIp.hashCode());
        final Object $sts = this.getSts();
        result = result * 59 + (($sts == null) ? 43 : $sts.hashCode());
        final Object $createTime = this.getCreateTime();
        result = result * 59 + (($createTime == null) ? 43 : $createTime.hashCode());
        final Object $updateTime = this.getUpdateTime();
        result = result * 59 + (($updateTime == null) ? 43 : $updateTime.hashCode());
        final Object $tranDt = this.getTranDt();
        result = result * 59 + (($tranDt == null) ? 43 : $tranDt.hashCode());
        final Object $optTime = this.getOptTime();
        result = result * 59 + (($optTime == null) ? 43 : $optTime.hashCode());
        final Object $correlationId = this.getCorrelationId();
        result = result * 59 + (($correlationId == null) ? 43 : $correlationId.hashCode());
        final Object $requestClass = this.getRequestClass();
        result = result * 59 + (($requestClass == null) ? 43 : $requestClass.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "TSysMqConsumerErrs(id=" + this.getId() + ", applicationName=" + this.getApplicationName() + ", messageId=" + this.getMessageId() + ", queueName=" + this.getQueueName() + ", requestData=" + this.getRequestData() + ", requestIp=" + this.getRequestIp() + ", sts=" + this.getSts() + ", createTime=" + this.getCreateTime() + ", updateTime=" + this.getUpdateTime() + ", tranDt=" + this.getTranDt() + ", optTime=" + this.getOptTime() + ", correlationId=" + this.getCorrelationId() + ", requestClass=" + this.getRequestClass() + ")";
    }
}
